Optimal. Leaf size=36 \[ \frac {a (a x+b)^4}{20 b^2 x^4}-\frac {(a x+b)^4}{5 b x^5} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {263, 45, 37} \[ \frac {a (a x+b)^4}{20 b^2 x^4}-\frac {(a x+b)^4}{5 b x^5} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 45
Rule 263
Rubi steps
\begin {align*} \int \frac {\left (a+\frac {b}{x}\right )^3}{x^3} \, dx &=\int \frac {(b+a x)^3}{x^6} \, dx\\ &=-\frac {(b+a x)^4}{5 b x^5}-\frac {a \int \frac {(b+a x)^3}{x^5} \, dx}{5 b}\\ &=-\frac {(b+a x)^4}{5 b x^5}+\frac {a (b+a x)^4}{20 b^2 x^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 41, normalized size = 1.14 \[ -\frac {a^3}{2 x^2}-\frac {a^2 b}{x^3}-\frac {3 a b^2}{4 x^4}-\frac {b^3}{5 x^5} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.14, size = 35, normalized size = 0.97 \[ -\frac {10 \, a^{3} x^{3} + 20 \, a^{2} b x^{2} + 15 \, a b^{2} x + 4 \, b^{3}}{20 \, x^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 35, normalized size = 0.97 \[ -\frac {10 \, a^{3} x^{3} + 20 \, a^{2} b x^{2} + 15 \, a b^{2} x + 4 \, b^{3}}{20 \, x^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 36, normalized size = 1.00 \[ -\frac {a^{3}}{2 x^{2}}-\frac {a^{2} b}{x^{3}}-\frac {3 a \,b^{2}}{4 x^{4}}-\frac {b^{3}}{5 x^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.04, size = 35, normalized size = 0.97 \[ -\frac {10 \, a^{3} x^{3} + 20 \, a^{2} b x^{2} + 15 \, a b^{2} x + 4 \, b^{3}}{20 \, x^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 34, normalized size = 0.94 \[ -\frac {\frac {a^3\,x^3}{2}+a^2\,b\,x^2+\frac {3\,a\,b^2\,x}{4}+\frac {b^3}{5}}{x^5} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.24, size = 37, normalized size = 1.03 \[ \frac {- 10 a^{3} x^{3} - 20 a^{2} b x^{2} - 15 a b^{2} x - 4 b^{3}}{20 x^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________